﻿@using System.Web.Mvc.Html
@inherits System.Web.Mvc.WebViewPage
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/earthlingtwo/style.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>
</head>
<body>
    <div id="wrapper">
        <div id="header">
            <div id="logo" style="font-variant: small-caps">
                <img src="@Url.Content("~/Content/earthlingtwo/images/Capture.png")" />
                <h1>
                    Chương trình quản lý nhà gửi xe</h1>
            </div>
            <div id="logindisplay" style="float: right; margin-top: 20px">
                @Html.Partial("_LogOnPartial")
            </div>
        </div>
        <!-- end #header -->
        <div id="menu">
            <ul>
                @if ("admin".Equals(User.Identity.Name))
                {
                    <li>@Html.ActionLink("Home", "Index", "Home")</li>
                    <li>@Html.ActionLink("About", "About", "Home")</li>
                    <li>@Html.ActionLink("Customer", "Index", "Customer")</li>
                    <li>@Html.ActionLink("MotorBike", "Index", "MotorBike")</li>
                    <li>@Html.ActionLink("Ticket", "Index", "Ticket")</li>
                }
            </ul>
        </div>
        <!-- end #menu -->
        <div id="page">
            <div id="content">
                <div id="banner">
                </div>
                @RenderBody()
                <div style="clear: both;">
                    &nbsp;</div>
            </div>
            <!-- end #content -->
            <div id="sidebar">
            </div>
            <!-- end #sidebar -->
            <div style="clear: both;">
                &nbsp;</div>
        </div>
        <!-- end #page -->
    </div>
    <div id="footer-content">
    </div>
    <div id="footer">
        <p>
            (c) 2009 MySite.com.</p>
    </div>
    <!-- end #footer -->
</body>
</html>